home *** CD-ROM | disk | FTP | other *** search
- #ifndef SQLPLAT_H
- #define SQLPLAT_H
-
- #ifndef WIN2MAC_H
- #include "win2mac.h"
- #endif
-
- #define SQL_API
- #define SQL_PRE_API pascal
- #define RETCODE_SQL_API pascal RETCODE
-
- #define TRANSAPI
- #define TRANSPREAPI pascal
- #define BOOL_TRANSAPI pascal BOOL
-
- #define INSTAPI
- #define INSTPREAPI pascal
- #define BOOL_INSTAPI pascal BOOL
- #define PROFILE_CB WORD // type used to pass/return a bytecount in SQLGetPrivateProfileString
- #define PROFILE_CB_INSTAPI pascal PROFILE_CB
-
- #define LDOUBLE_IS_DOUBLE 0
-
- #define PUSH_POP_PACK2 0
-
- #include <Quickdraw.h>
- typedef GrafPtr SQLHWND;
- typedef SQLHWND HWND;
-
- #define SQL_OPT_TRACE_FILE_DEFAULT "SQL.LOG"
-
- #define SQL_PROFILE_STRING 1
- #define INSTALL_API 0
-
- #define WORDPARAM UINT
- // For ODBCINST.H:
- // this fixes a compatability problem w/ 1.0 drivers, where buffer size
- // parameters were UINTs. to stay compatable we force WORD params to UINT.
-
- #endif // SQLPLAT_H